home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / OpenDoc 1.2b2c1 / OpenDoc / OpenDoc Utilities / Interfaces / UseLib.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-01  |  518 b   |  30 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        UseLib.h
  3.  
  4.     Contains:    Utility class for loading & unloading libraries on-demand
  5.  
  6.     Owned by:    Chris Linn
  7.  
  8.     Copyright:    © 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <1>     10/4/96    CSL        first checked in
  13. */
  14.  
  15. #ifndef _USELIB_
  16. #define _USELIB_
  17.  
  18. class CUsingLibrary : private Destructo
  19. {
  20.     public:
  21.         CUsingLibrary( Str63 libName );
  22.        ~CUsingLibrary();
  23.         Ptr GetEntry( Str255 entryName );
  24.     private:
  25.         CFragConnectionID    fConnectionID;
  26.         OSErr                fErr;
  27. };
  28.  
  29. #endif
  30.